export default {
  path: "/console",
  component: () => import("xqjr-module-console/layout/index.vue"),
  children: [
    {
      path: "",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/index")
        }
      ]
    },
    {
      path: "initSite",
      component: () => import("xqjr-module-console/views/initSite.vue")
    },
    {
      path: "system",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/system/index")
        },
        {
          path: "moduleDetail",
          component: () => import("xqjr-module-console/views/system/moduleDetail")
        },
        {
          path: "configRoleAuth",
          component: () => import("xqjr-module-console/views/system/configRoleAuth")
        },
        {
          path: "/form-set/:id?",
          component: () => import("xqjr-module-console/views/system/components/approval/form-list.vue")
        }
      ]
    },
    {
      path: "messageType",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/messageConfig/messageType/index.vue")
        }
      ]
    },
    {
      path: "businessConfig",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "confign",
          component: () => import("xqjr-module-console/views/businessConfig/confign")
        },
        {
          path: "toApplyFor",
          component: () => import("xqjr-module-console/views/businessConfig/toApplyFor")
        },
        {
          path: "management",
          component: () => import("xqjr-module-console/views/businessConfig/management")
        },
        {
          path: "paySalary",
          component: () => import("xqjr-module-console/views/businessConfig/paySalary")
        },
        {
          path: "contractConfig",
          component: () => import("xqjr-module-console/views/contractConfig/index")
        },
        {
          path: "messageConfig",
          component: () => import("xqjr-module-console/views/messageConfig/index")
        },
        {
          path: "shebaoConfig",
          component: () => import("xqjr-module-console/views/shebaoConfig/index")
        },
        {
          path: "insuranceCompany",
          component: () => import("@/views/shangyebaoxian/insuranceCompany/index")
        },
        {
          path: "insuranceForSite",
          component: () => import("@/views/shangyebaoxian/insuranceForSite/index")
        },
        {
          path: "taxConfig",
          component: () => import("xqjr-module-console/views/taxConfig/index")
        }
      ]
    },
    {
      path: "contract",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("@/views/contractConfig")
        }
      ]
    },
    {
      path: "messageConfig",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("@/views/messageConfig")
        }
      ]
    },
    {
      path: "icongroup",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/icongroup")
        }
      ]
    },
    {
      path: "site",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/site/index")
        },
        {
          path: "checkSite",
          component: () => import("xqjr-module-console/views/site/checkSite")
        },

        {
          path: "configRole",
          component: () => import("xqjr-module-console/views/site/configRole")
        }
      ]
    },
    {
      path: "moduleConfig",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/moduleConfig/index")
        }
      ]
    },
    {
      path: "tableHeader",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/tableHeader/index")
        }
      ]
    },
    {
      path: "templateConfig",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          meta: {
            pageType: "console"
          },
          path: "",
          component: () => import("xqjr-module-console/views/templateConfig/index")
        }
      ]
    },
    {
      path: "recruitmentPoolInformation",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          meta: {
            pageType: "console"
          },
          path: "",
          component: () => import("xqjr-module-console/views/recruitmentPoolInformation/index")
        }
      ]
    },
    {
      path: "tempContractSetting", // 合同设置
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          meta: {
            pageType: "console"
          },
          path: "",
          component: () => import("@/views/contract/type-manage/settingNew")
        }
      ]
    },
    {
      path: "tempContractTypeSeal/:id", // 合同设置
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          meta: {
            pageType: "console"
          },
          path: "",
          component: () => import("@/views/contract/type-manage/editSealNew")
        }
      ]
    },
    {
      path: "calendarConfig",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/calendarConfig/index")
        }
      ]
    },
    {
      path: "parameter",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/parameter/index")
        }
      ]
    },
    {
      path: "siteUsers",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/siteUsers/index")
        },
        {
          path: "detail",
          component: () => import("xqjr-module-console/views/siteUsers/detail")
        }
      ]
    },
    {
      path: "document",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/document/index")
        }
      ]
    },
    {
      path: "weixinTemplate",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/weixinTemplate/index")
        }
      ]
    },
    {
      path: "smsTemplate",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/smsTemplate")
        },
        {
          path: "add",
          component: () => import("xqjr-module-console/views/smsTemplate/systemSms/add")
        },
        {
          path: "config",
          component: () => import("xqjr-module-console/views/smsTemplate/systemSms/config")
        },
        {
          path: "tenantAdd",
          component: () => import("xqjr-module-console/views/smsTemplate/tenantSms/add")
        },
        {
          path: "tenantConfig",
          component: () => import("xqjr-module-console/views/smsTemplate/tenantSms/config")
        }
      ]
    },
    {
      path: "appConfig",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/appConfig/index")
        }
      ]
    },
    {
      path: "log",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "actionLog",
          component: () => import("xqjr-module-console/views/log/actionLog/index")
        },
        {
          path: "serviceLog",
          component: () => import("xqjr-module-console/views/log/serviceLog/index")
        },
        {
          path: "loginLog",
          component: () => import("xqjr-module-console/views/log/loginLog/index")
        }
      ]
    },
    {
      path: "version",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "app",
          component: () => import("xqjr-module-console/views/version/app")
        },
        {
          path: "web",
          component: () => import("xqjr-module-console/views/version/web")
        },
        {
          path: "index",
          component: () => import("xqjr-module-console/views/version/index")
        },
        {
          path: "addApp",
          component: () => import("xqjr-module-console/views/version/components/addVersion")
        }
      ]
    },
    {
      path: "settings",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/settings/index.vue")
        }
      ]
    },
    {
      path: "trialList",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("@/views/trialList/index")
        }
      ]
    },
    {
      path: "recruitmentPoolInformation",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/recruitmentPoolInformation/index")
        }
      ]
    },
    {
      path: "systemFields",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/fields/systemFields/index")
        }
      ]
    },
    {
      path: "systemTemplate",
      component: () => import("xqjr-module-console/layout/admin.vue"),
      children: [
        {
          path: "",
          component: () => import("xqjr-module-console/views/fields/systemTemplate/index")
        }
      ]
    }
  ]
};
